package nl.dxn.tunnel.server.http;

import javax.net.ssl.HostnameVerifier;

import javax.net.ssl.SSLSession;



public class InsecureHostnameVerifier implements HostnameVerifier {

    @Override

    public boolean verify(String hostname, SSLSession session) {

        // 总是返回 true，表示接受任何主机名

        return true;

    }

}